{include file="header.tpl" title="Duyet chi nhanh"}
<form action="" method="post" name="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td>{$lbl_PRDCODE}</td>
     <td colspan="3" style="color:#FF0000"><input name="PRDCODE" id="PRDCODE" type="text" style="background:{$colorPRDCODE}" value="{$PRDCODE}" size="20" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','');"  {if $activefield eq 'enabled' } readonly="readOnly"{/if} />
*
  <input type="submit" name="find2" value="    " id="replacement_find" {if $activefield eq 'enabled' } disabled="disabled"{/if} /></td>
    </tr>
  <tr>
    <td>{$lbl_PRDNAME}</td>
    <td colspan="3"><input name="PRDNAME" id="PRDNAME" type="text" style="background:{$colorPRDNAME}" value="{$PRDNAME}" size="60" maxlength="50" readonly="readonly" /></td>
    </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_CURCODE}</td>
    <td><span style="color:#FF0000">
      <select name="CURCODE" size="1" id="CURCODE" style="background:{$colorCURCODE}" disabled="disabled" >
	  <option value=""></option>
      {foreach from=$cbo_CURCODE key=k item=v}   
        <option value="{$k}" {if $k eq $CURCODE} selected="selected" {/if} >{$k} - {$v}</option>  
	  {/foreach}   
      </select>
    </span></td>
    <td>{$lbl_PMTCURCODE}</td>
    <td><span style="color:#FF0000">
      <select name="PMTCURCODE" size="1" id="PMTCURCODE" style="background:{$colorPMTCURCODE}"  disabled="disabled">
        <option value=""></option>
         
      {foreach from=$cbo_trtfprd_PMTCURCODE key=k item=v}      
        
        <option value="{$k}" {if $k eq $PMTCURCODE} selected="selected" {/if} >{$k} - {$v}</option>
               
	  {/foreach}   
      
      </select>
    </span></td>
  </tr>
   <tr>
    <td nowrap="nowrap">{$lbl_TYPE}</td>
    <td><span style="color:#FF0000">
      <select name="TYPE" size="1" id="TYPE" style="background:{$colorTYPE}"  onchange="show();" disabled="disabled">
        <option value=""></option>
      {foreach from=$cbo_trtfprd_TYPE key=k item=v}  
        <option value="{$k}" {if $k eq $TYPE} selected="selected" {/if} >{$k} - {$v}</option>     
	  {/foreach}   
      </select>
    </span></td>
    <td>{$lbl_PLGACCTNO2}</td>
    <td><span style="color:#FF0000">
      <input name="PLGACCTNO2" id="PLGACCTNO2" type="text" style="background:{$colorPLGACCTNO2}" value="{$PLGACCTNO2}" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" readonly="readonly"/>
    </span></td>
   </tr>
   <tr>
     <td>{$lbl_BORS}</td>
     <td style="color:#FF0000"><select name="BORS" size="1" id="BORS" style="background:{$colorBORS}" disabled="disabled" >
       <option value=""></option>
       
        
      {foreach from=$cbo_trtfprd_BORS key=k item=v}  
        
        
       <option value="{$k}" {if $k eq $BORS} selected="selected" {/if} >{$k} - {$v}</option          
	  {/foreach}   
      >
     </select></td>
     <td >{$lbl_TXNACCTNOVN}</td>
     <td style="color:#FF0000"><input name="TXNACCTNOVN" id="TXNACCTNOVN" type="text" style="background:{$colorTXNACCTNOVN}" value="{$TXNACCTNOVN}" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" readonly="readonly"/></td>
   </tr>
   <tr>
     <td>{$lbl_MINDEPRATE}</td>
     <td style="color:#FF0000"><input name="MINDEPRATE" id="MINDEPRATE" type="text" style="background:{$colorMINDEPRATE};text-align:right" value="{$MINDEPRATE}" size="20" maxlength="5" onblur="formatNumber2(this,this.value,3,2)" onkeypress="return numberOnly(event);" readonly="readonly"/></td>
     <td >{$lbl_CNVACCTNODB}</td>
     <td style="color:#FF0000"><input name="CNVACCTNODB" id="CNVACCTNODB" type="text" style="background:{$colorCNVACCTNODB};" value="{$CNVACCTNODB}" size="15" maxlength="10" onkeypress="return numberOnly(event);" readonly="readonly"/></td>
   </tr>
   <tr>
     <td>{$lbl_PMTTERM}</td>
     <td style="color:#FF0000"><input name="PMTTERM" id="PMTTERM" type="text" style="background:{$colorPMTTERM};text-align:right" value="{$PMTTERM}" size="20" maxlength="5" onkeypress="return numberOnly(event);" onkeyup="this.value=this.value.replace('0.','').replace('.','');" readonly="readonly"/></td>
     <td >{$lbl_CNVACCTNOCR}</td>
     <td style="color:#FF0000"><input name="CNVACCTNOCR" id="CNVACCTNOCR" type="text" style="background:{$colorCNVACCTNOCR};" value="{$CNVACCTNOCR}" size="15" maxlength="10" onkeypress="return numberOnly(event);" readonly="readonly"/></td>
   </tr>
   <tr>
     <td>{$lbl_PMTTERMCD}</td>
     <td style="color:#FF0000"><select name="PMTTERMCD" size="1" id="PMTTERMCD" style="background:{$colorPMTTERMCD}" disabled="disabled" >
       <option value=""></option>
        
      {foreach from=$cbo_trtfprd_PMTTERMCD key=k item=v}  
        
       <option value="{$k}" {if $k eq $PMTTERMCD} selected="selected" {/if} >{$k} - {$v}</option>
          
	  {/foreach}   
      
     </select></td>
     <td >{$lbl_PMTACCTNOVN}</td>
     <td style="color:#FF0000"><input name="PMTACCTNOVN" id="PMTACCTNOVN" type="text" style="background:{$colorPMTACCTNOVN}" value="{$PMTACCTNOVN}" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" readonly="readonly"/></td>
   </tr>
   <tr>
     <td>{$lbl_WRNRATE}</td>
     <td style="color:#FF0000"><input name="WRNRATE" id="WRNRATE" type="text" style="background:{$colorWRNRATE};text-align:right" value="{$WRNRATE}" size="20" maxlength="5" onblur="formatNumber2(this,this.value,3,2)" onkeypress="return numberOnly(event);"  readonly="readonly"/></td>
     <td >{$lbl_INCACCTNO}</td>
     <td style="color:#FF0000"><input name="INCACCTNO" id="INCACCTNO" type="text" style="background:{$colorINCACCTNO}" value="{$INCACCTNO}" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" readonly="readonly"/></td>
   </tr>
   <tr>
     <td>{$lbl_CLSRATE}</td>
     <td style="color:#FF0000"><input name="CLSRATE" id="CLSRATE" type="text" style="background:{$colorCLSRATE};text-align:right" value="{$CLSRATE}" size="20" maxlength="5" onblur="formatNumber2(this,this.value,3,2)" onkeypress="return numberOnly(event);" readonly="readonly" /></td>
     <td >{$lbl_EXPACCTNO}</td>
     <td style="color:#FF0000"><input name="EXPACCTNO" id="EXPACCTNO" type="text" style="background:{$colorEXPACCTNO}" value="{$EXPACCTNO}" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" readonly="readonly"/></td>
   </tr>
   <tr>
     <td>{$lbl_PMTACCTNOFN}</td>
     <td style="color:#FF0000"><input name="PMTACCTNOFN" id="PMTACCTNOFN" type="text" style="background:{$colorPMTACCTNOFN}" value="{$PMTACCTNOFN}" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" readonly="readonly"/></td>
     <td>{$lbl_CRTMPACCTNO}</td>
     <td style="color:#FF0000"><input name="CRTMPACCTNO" id="CRTMPACCTNO" type="text" style="background:{$colorCRTMPACCTNO}" value="{$CRTMPACCTNO}" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" readonly="readonly"/></td>
   </tr>
   <tr>
     <td>{$lbl_PLGACCTNO1}</td>
     <td><span style="color:#FF0000">
       <input name="PLGACCTNO1" id="PLGACCTNO1" type="text" style="background:{$colorPLGACCTNO1}" value="{$PLGACCTNO1}" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" readonly="readonly"/>
     </span></td>
     <td >{$lbl_DBTMPACCTNO}</td>
     <td style="color:#FF0000"><input name="DBTMPACCTNO" id="DBTMPACCTNO" type="text" style="background:{$colorDBTMPACCTNO}" value="{$DBTMPACCTNO}" size="15" maxlength="10" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" readonly="readonly"/></td>
  </tr>
<tr>
<td colspan="4">
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
  <td align="right" nowrap="nowrap" colspan="4">
  <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'PRDCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input value="{$lbl_tuchoi}" name="tuchoi" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}/>
 <input value="{$lbl_duyet}" name="duyet" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}  />  </td>
</tr>
<tr>
  <td colspan="4"><input value="{$lbl_lichsuthaydoi}" name="lichsuthaydoi" type="button" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" onclick="mywindow = window.open('lich_su_par_trtfprd.php?PRDCODE={$PRDCODE}', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{include file="footer.tpl"}
